package com.ruoyi.workflow.service.impl;

import com.ruoyi.workflow.service.IFlowableCallbackService;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.Map;

@Service("other-callback")
public class OtherCallbackServiceImpl implements IFlowableCallbackService {
    @Override
    public Map<String, Object> callbackBusinessApp(Map<String,Object> callback) {
        Map hashMap = new HashMap();
        hashMap.put("msg", "这是其他模块的工作流回调！");
        hashMap.put("data", callback.get("data"));
        return hashMap;
    }
}
